package com.bsoft.gol.hbs.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import ctd.spring.boot.annotation.SsdevDao;
import ctd.util.annotation.RpcService;
import hcn.base.feerule.ExpressSectionRule;
import java.util.List;
@SsdevDao(serviceId = "expressSectionRule")
public abstract class ExpressSectionRuleDAO extends HibernateSupportDelegateDAO<ExpressSectionRule> {

    public ExpressSectionRuleDAO() {
        this.setKeyField("id");
    }

    @RpcService
    @DAOMethod(sql = " from ExpressSectionRule where modeId in (:modeIds)")
    public abstract List<ExpressSectionRule> findSectionRule(@DAOParam("modeIds")List<String> modeIds);

}
